[INFO] cloning repository https://github.com/erikjohnston/rust-matrix-state
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erikjohnston/rust-matrix-state" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-matrix-state", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-matrix-state'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b817b15b83ee3f626367a0e2be48eab333cd4f3
[INFO] building erikjohnston/rust-matrix-state against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferikjohnston%2Frust-matrix-state" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/erikjohnston/rust-matrix-state on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/erikjohnston/rust-matrix-state
[INFO] finished tweaking git repo https://github.com/erikjohnston/rust-matrix-state
[INFO] tweaked toml for git repo https://github.com/erikjohnston/rust-matrix-state written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/erikjohnston/rust-matrix-state already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ae011721573f7524e28aea673ab68c2fb2075d14c4e70e1a0671c2c46257d82
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0ae011721573f7524e28aea673ab68c2fb2075d14c4e70e1a0671c2c46257d82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ae011721573f7524e28aea673ab68c2fb2075d14c4e70e1a0671c2c46257d82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ae011721573f7524e28aea673ab68c2fb2075d14c4e70e1a0671c2c46257d82", kill_on_drop: false }`
[INFO] [stdout] 0ae011721573f7524e28aea673ab68c2fb2075d14c4e70e1a0671c2c46257d82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fbf57a3d24f6da09aa42249a4c1ce2ac280340b3c13937d4e81b90b583e8be6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "4fbf57a3d24f6da09aa42249a4c1ce2ac280340b3c13937d4e81b90b583e8be6", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling libc v0.2.40
[INFO] [stderr]    Compiling byteorder v1.2.2
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling constant_time_eq v0.1.3
[INFO] [stderr]    Compiling cc v1.0.10
[INFO] [stderr]    Compiling arrayref v0.3.4
[INFO] [stderr]    Compiling smallvec v0.6.0
[INFO] [stderr]    Compiling stable_deref_trait v1.0.0
[INFO] [stderr]    Compiling utf8-ranges v1.0.0
[INFO] [stderr]    Compiling md5 v0.3.7
[INFO] [stderr]    Compiling fallible-iterator v0.1.4
[INFO] [stderr]    Compiling rustc-demangle v0.1.7
[INFO] [stderr]    Compiling serde v1.0.37
[INFO] [stderr]    Compiling num-traits v0.2.2
[INFO] [stderr]    Compiling itoa v0.4.1
[INFO] [stderr]    Compiling nom v2.2.1
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling proc-macro2 v0.3.5
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling block-buffer v0.3.3
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling rustc_version v0.2.2
[INFO] [stderr]    Compiling base64 v0.6.0
[INFO] [stderr]    Compiling generic-array v0.9.0
[INFO] [stderr]    Compiling synstructure v0.5.2
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling digest v0.7.2
[INFO] [stderr]    Compiling crypto-mac v0.5.2
[INFO] [stderr]    Compiling heapsize_derive v0.1.4
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling memchr v1.0.2
[INFO] [stderr]    Compiling clicolors-control v0.2.0
[INFO] [stderr]    Compiling termios v0.2.2
[INFO] [stderr]    Compiling atty v0.2.8
[INFO] [stderr]    Compiling socket2 v0.3.4
[INFO] [stderr]    Compiling quote v0.5.1
[INFO] [stderr]    Compiling sha2 v0.7.0
[INFO] [stderr]    Compiling hmac v0.5.0
[INFO] [stderr]    Compiling bytes v0.4.6
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling procinfo v0.4.2
[INFO] [stderr]    Compiling clap v2.31.2
[INFO] [stderr]    Compiling syn v0.13.1
[INFO] [stderr]    Compiling regex v0.2.10
[INFO] [stderr]    Compiling parking_lot_core v0.2.13
[INFO] [stderr]    Compiling rand v0.3.22
[INFO] [stderr]    Compiling backtrace-sys v0.1.16
[INFO] [stderr]    Compiling postgres-protocol v0.3.2
[INFO] [stderr]    Compiling parking_lot v0.5.4
[INFO] [stderr]    Compiling postgres-shared v0.4.1
[INFO] [stderr]    Compiling console v0.6.1
[INFO] [stderr]    Compiling serde_derive_internals v0.23.0
[INFO] [stderr]    Compiling indicatif v0.9.0
[INFO] [stderr]    Compiling postgres v0.15.2
[INFO] [stderr]    Compiling serde_derive v1.0.37
[INFO] [stderr]    Compiling serde_json v1.0.13
[INFO] [stderr]    Compiling backtrace v0.3.6
[INFO] [stderr]    Compiling failure v0.1.1
[INFO] [stderr]    Compiling rust-state v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/state_map.rs:365:41
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn from_iter<T: IntoIterator<Item = (((String, String), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/state_map.rs:380:41
[INFO] [stdout]     |
[INFO] [stdout] 380 |     fn from_iter<T: IntoIterator<Item = (((&'a str, &'a str), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:324:33
[INFO] [stdout]     |
[INFO] [stdout] 324 |             let a = if let Some(mut i) = adjacents.get_mut(p as &str) {
[INFO] [stdout]     |                                 ----^
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/state.rs:23:25
[INFO] [stdout]    |
[INFO] [stdout] 23 |             if let Some(mut v) = conflicted.get_mut(t, s) {
[INFO] [stdout]    |                         ----^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/state.rs:33:21
[INFO] [stdout]    |
[INFO] [stdout] 33 |                 let mut v = conflicted.get_mut_or_default(t, s);
[INFO] [stdout]    |                     ----^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 47s
[INFO] running `Command { std: "docker" "inspect" "4fbf57a3d24f6da09aa42249a4c1ce2ac280340b3c13937d4e81b90b583e8be6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fbf57a3d24f6da09aa42249a4c1ce2ac280340b3c13937d4e81b90b583e8be6", kill_on_drop: false }`
[INFO] [stdout] 4fbf57a3d24f6da09aa42249a4c1ce2ac280340b3c13937d4e81b90b583e8be6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b62c334f7f4d1756e96692f79c1c9e4d9058cea7ac4180fcbbd278b5f4dee21
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "8b62c334f7f4d1756e96692f79c1c9e4d9058cea7ac4180fcbbd278b5f4dee21", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust-state v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/state_map.rs:365:41
[INFO] [stdout]     |
[INFO] [stdout] 365 |     fn from_iter<T: IntoIterator<Item = (((String, String), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]    --> src/state_map.rs:380:41
[INFO] [stdout]     |
[INFO] [stdout] 380 |     fn from_iter<T: IntoIterator<Item = (((&'a str, &'a str), E))>>(iter: T) -> StateMap<E> {
[INFO] [stdout]     |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state_map.rs:403:49
[INFO] [stdout]     |
[INFO] [stdout] 403 |         let res = state_map.add_or_remove(t, s, 2);
[INFO] [stdout]     |                                                 ^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 expected `&{integer}`, found integer
[INFO] [stdout]     |                                                 help: consider borrowing here: `&2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state_map.rs:404:9
[INFO] [stdout]     |
[INFO] [stdout] 404 |         assert_eq!(res, Some((2, 1)));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected integer, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected enum `std::option::Option<{integer}>`
[INFO] [stdout]                found enum `std::option::Option<({integer}, {integer})>`
[INFO] [stdout]     = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state_map.rs:408:49
[INFO] [stdout]     |
[INFO] [stdout] 408 |         let res = state_map.add_or_remove(t, s, 1);
[INFO] [stdout]     |                                                 ^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 expected `&{integer}`, found integer
[INFO] [stdout]     |                                                 help: consider borrowing here: `&1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/state_map.rs:411:49
[INFO] [stdout]     |
[INFO] [stdout] 411 |         let res = state_map.add_or_remove(t, s, 1);
[INFO] [stdout]     |                                                 ^
[INFO] [stdout]     |                                                 |
[INFO] [stdout]     |                                                 expected `&{integer}`, found integer
[INFO] [stdout]     |                                                 help: consider borrowing here: `&1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-state`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "8b62c334f7f4d1756e96692f79c1c9e4d9058cea7ac4180fcbbd278b5f4dee21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b62c334f7f4d1756e96692f79c1c9e4d9058cea7ac4180fcbbd278b5f4dee21", kill_on_drop: false }`
[INFO] [stdout] 8b62c334f7f4d1756e96692f79c1c9e4d9058cea7ac4180fcbbd278b5f4dee21
